//
//  AudiHistoryViewController.h
//  AudiHistory
//
//  Created by niko on 11-8-14.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ImageScrollView;
@class CMenuBar;
@class IndexView;
@interface AudiHistoryViewController : UIViewController <UIScrollViewDelegate>
{
	UIScrollView *m_pPagingScrollView;//最外面的
	ImageScrollView *m_pPage;
	CMenuBar* m_pMenuBar;
	IndexView *m_pIndexView;
	//ImageScrollView *m_pPage2;
	
	int m_nCurPage;
	int m_nCurNewPage;
}

- (int)GetCurPage;
- (int)GetCurNewPage;
- (void)SetCurNewPage:(int)nCurNewPage;

- (void)initMenuBar;
- (void)initIndexBar;
- (void)ShowIndexBar;
- (void)HideIndexBar;

- (NSUInteger)imageCount;
- (void)tilePages;
- (CGRect)frameForPagingScrollView;
- (CGSize)contentSizeForPagingScrollView;
- (CGRect)frameForPageAtIndex:(NSUInteger)index;

+(AudiHistoryViewController*)SharedObj;

@end

